#include <iostream>
#include <vector>
#include <iterator>

using std::cout;
using std::endl;
using std::vector;
using std::reverse_iterator;

void test0(){
    vector<int> number = {9,3,2,1,6};
    vector<int>::reverse_iterator rit = number.rbegin();
    for(;rit != number.rend();++rit){
        cout << *rit << " ";
    }
    cout << endl;
}

int main(int argc, char * argv[])
{
    test0();
    return 0;
}


